// 封装本地读取、存储方法
const KEY_TOKEN="token"
export const SET_TOKEN =(token:string)=>{
    localStorage.setItem(KEY_TOKEN,token)
}

export const GET_TOKEN = ()=>{
    return localStorage.getItem(KEY_TOKEN)
}

export const REMOVE_TOKEN = ()=>{
    return localStorage.removeItem(KEY_TOKEN)
}